<%@ Control Language="C#" ClassName="NoteActionCodes" Inherits="Dimok.Web.UI.TableControl" %>
<table>
<tr><td>
<ajaxtk:CollapsiblePanelExtender runat="server"
	TargetControlID="pnlCBT"
	CollapseControlID="pnlCBTHeader" ExpandControlID="pnlCBTHeader"
	TextLabelID="lblCBTLabel"
	ImageControlID="imgCBTPanel"
	CollapsedImage="~/images/Buttons/expand.jpg" ExpandedImage="~/images/Buttons/collapse.jpg"
	Collapsed="true"	CollapsedText="" ExpandedText=""
	SuppressPostBack="true"
></ajaxtk:CollapsiblePanelExtender>
<asp:Panel ID="pnlCBTHeader" CssClass="PanelHeaderBlue" style="width:100%" runat="server">
<table cellPadding="0" cellSpacing="0"><tr>
<th Width="1px"><asp:Image ID="imgCBTPanel" ImageUrl="~/images/Buttons/expand.jpg" runat="server" />
<td nowrap><label ID="lblCBTLabel" runat="server" style="text-align:center">Note Action Codes</label></td>
</tr></table>
</asp:Panel> 
<asp:Panel ID="pnlCBT" runat="server" CssClass="PannelContent">

<asp:UpdatePanel ID="pnlRebateOffers" UpdateMode="Always" runat="server">
	<ContentTemplate>
		<UI:GridViewEx ID="grv" runat="server" AutoGenerateColumns="False" DataSourceID="ds"
			AllowSorting="True"	DataKeyNames="ID" EnableViewState="false" ShowFooter="true"
			>
			<Columns>
<asp:TemplateField HeaderText="Name" SortExpression="Name">
	<ItemTemplate><span title='<%#Eval("ID")%>'><%#Eval("Name") %></span></ItemTemplate>
	<EditItemTemplate><asp:TextBox Text='<%# Bind("Name") %>' ID="txtName" runat="server" /></EditItemTemplate>
	<FooterTemplate><asp:TextBox ID="Name" runat="server" /></FooterTemplate>
</asp:TemplateField>
<asp:TemplateField HeaderText="Short" SortExpression="Nick">
	<ItemTemplate><%#Eval("Nick") %></ItemTemplate>
	<EditItemTemplate><asp:TextBox Text='<%# Bind("Nick") %>' ID="txtNick" runat="server" /></EditItemTemplate>
	<FooterTemplate><asp:TextBox ID="Nick" runat="server" /></FooterTemplate>
</asp:TemplateField>
			</Columns>
		</UI:GridViewEx>
	</ContentTemplate>
</asp:UpdatePanel>
</asp:Panel>
</table>
<DS:NoteActionCodesDataSource ID="ds" runat="server"
	SelectList="ID,Name,Nick"
 />
